package com.example.iwalk.newprintapplication.constant;

/**
 * socket连接状态
 * Created by iwalk on 2016/12/23.
 */

public class SocketState {
    public static final int STATE_1 = 11;// 创建Socket连接
    public static final int STATE_2 = 12;// 获取输出流
    public static final int STATE_3 = 13;// 写入测试页面数据
    public static final int STATE_4 = 14;// 关闭输出流
    public static final int STATE_41 = 141;// 关闭输出流成功
    public static final int STATE_5 = 15;// 获取输入流
    public static final int ERROR_1 = 21;// 创建Socket失败
    public static final int ERROR_2 = 22;// 获取输出流失败
    public static final int ERROR_3 = 23;// 写入测试页面数据失败
    public static final int ERROR_4 = 24;// 关闭Socket出错
    public static final int ERROR_5 = 25;// 获取输入流失败
    public static final int ERROR_0 = 20;// 必要参数不能为空
    public static final int ERROR_100 = 100;// 失败
}
